package com.enniswu.weitter.entity;

public class Theme {

    private String name;
    private String skinName;
    private int resId;

    public Theme(String name, String skinName, int resId) {
        this.name = name;
        this.skinName = skinName;
        this.resId = resId;
    }

    @Override
    public boolean equals(Object obj) {
        return obj == this || obj instanceof Theme && ((Theme) obj).skinName.equals(skinName);
    }

    public String getName() {
        return name;
    }

    public String getSkinName() {
        return skinName;
    }

    public int getResId() {
        return resId;
    }
}
